using System;
using DevExpress.Xpo;
namespace EbadaPlatformLog {
    [DeferredDeletion(false)]
    public class mLog_Operate : XPLiteObject {
        string fEntryID;
        [Key]
        [Size(50)]
        public string EntryID {
            get { return fEntryID; }
            set { SetPropertyValue<string>("EntryID", ref fEntryID, value); }
        }
        DateTime fEntryTime;
        public DateTime EntryTime {
            get { return fEntryTime; }
            set { SetPropertyValue<DateTime>("EntryTime", ref fEntryTime, value); }
        }
        string fUserID;
        [Size(50)]
        public string UserID {
            get { return fUserID; }
            set { SetPropertyValue<string>("UserID", ref fUserID, value); }
        }
        string fLoginName;
        [Size(50)]
        public string LoginName {
            get { return fLoginName; }
            set { SetPropertyValue<string>("LoginName", ref fLoginName, value); }
        }
        string fRealName;
        [Size(50)]
        public string RealName {
            get { return fRealName; }
            set { SetPropertyValue<string>("RealName", ref fRealName, value); }
        }
        string fClientIP;
        [Size(50)]
        public string ClientIP {
            get { return fClientIP; }
            set { SetPropertyValue<string>("ClientIP", ref fClientIP, value); }
        }
        string fComputerName;
        [Size(50)]
        public string ComputerName {
            get { return fComputerName; }
            set { SetPropertyValue<string>("ComputerName", ref fComputerName, value); }
        }
        string fCpuProcessorId;
        [Size(50)]
        public string CpuProcessorId {
            get { return fCpuProcessorId; }
            set { SetPropertyValue<string>("CpuProcessorId", ref fCpuProcessorId, value); }
        }
        string fMacAddress;
        [Size(50)]
        public string MacAddress {
            get { return fMacAddress; }
            set { SetPropertyValue<string>("MacAddress", ref fMacAddress, value); }
        }
        int fFuncNo;
        public int FuncNo {
            get { return fFuncNo; }
            set { SetPropertyValue<int>("FuncNo", ref fFuncNo, value); }
        }
        string fFuncDescription;
        [Size(500)]
        public string FuncDescription {
            get { return fFuncDescription; }
            set { SetPropertyValue<string>("FuncDescription", ref fFuncDescription, value); }
        }
        string fOldPrimaryKey;
        [Size(200)]
        public string OldPrimaryKey {
            get { return fOldPrimaryKey; }
            set { SetPropertyValue<string>("OldPrimaryKey", ref fOldPrimaryKey, value); }
        }
        string fNewPrimaryKey;
        [Size(200)]
        public string NewPrimaryKey {
            get { return fNewPrimaryKey; }
            set { SetPropertyValue<string>("NewPrimaryKey", ref fNewPrimaryKey, value); }
        }
        bool fSuccess;
        public bool Success {
            get { return fSuccess; }
            set { SetPropertyValue<bool>("Success", ref fSuccess, value); }
        }
        string fDescription;
        [Size(SizeAttribute.Unlimited)]
        public string Description {
            get { return fDescription; }
            set { SetPropertyValue<string>("Description", ref fDescription, value); }
        }
        byte[] fObject;
        public byte[] Object {
            get { return fObject; }
            set { SetPropertyValue<byte[]>("Object", ref fObject, value); }
        }
        public mLog_Operate(Session session) : base(session) { }
        public mLog_Operate() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }  

}
